{php}
if(isset($_SERVER['PATH_INFO'])){
	$www_pathinfo = $_SERVER['PATH_INFO'];
	$www_arr = explode('/',$www_pathinfo);
	$www_con = $www_arr['1'];
	$www_con = strtoupper($www_con);
}else{
	$www_con = 'INDEX';
}
{/php}
<div class="kong"></div>
<div class="footer">
	<ul>
		<li>
			<a href="{:url('Index/index')}">
				{if condition="$www_con=='INDEX'"}
				<img src="__STATIC__/www/images/tab_icon_home_s.png"/>
				{else/}
				<img src="__STATIC__/www/images/tab_icon_home_def.png"/>
				{/if}
				<p {if condition="$www_con=='INDEX'"}class="select"{/if}>首页</p>
			</a>
		</li>
		<li>
			<a href="{:url('Connection/index')}">
				{if condition="$www_con=='CONNECTION'"}
				<img src="__STATIC__/www/images/tab_icon_activity_s.png"/>
				{else/}
				<img src="__STATIC__/www/images/tab_icon_activity_def.png"/>
				{/if}

				<p {if condition="$www_con=='CONNECTION'"}class="select"{/if}>人脉链</p>
			</a>
		</li>
		<li id="text" class="othd">
			<a href="javascript:void(0);">
				<img src="__STATIC__/www/images/tab_icon_wallet.png"/>
				<p class="">钱包</p>
			</a>
		</li>
		<li>
			<a href="{:url('Resource/resourceList')}">

				{if condition="$www_con=='RESOURCE'"}
				<img src="__STATIC__/www/images/tab_icon_link_s.png"/>
				{else/}
				<img src="__STATIC__/www/images/tab_icon_link_def.png"/>
				{/if}
				<p {if condition="$www_con=='RESOURCE'"}class="select"{/if}>资源</p>
			</a>
		</li>
		<li>
			<a href="{:url('User/index')}">
				{if condition="$www_con=='USER'"}
				<img src="__STATIC__/www/images/tab_icon_profile_s.png"/>
				{else/}
				<img src="__STATIC__/www/images/tab_icon_profile_def.png"/>
				{/if}
				<p {if condition="$www_con=='USER'"}class="select"{/if}>我的</p>
			</a>
		</li>
	</ul>
</div>